.site-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 8;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  display: flex;
  justify-content: center;
  align-items: center;
}

.show-site-modal {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.site-modal .site-modal-body {
  width: 480px;
  padding: 20px 0 25px 0;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-modal .site-modal-body .site-modal-title {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 20px;
  color: #34495e;
}

.site-modal .site-modal-body .site-modal-close {
  font-size: 40px;
  position: absolute;
  top: -8px;
  right: 12px;
  color: #909090;
  cursor: pointer;
}

.site-modal .site-modal-body input {
  width: 320px;
  padding: 10px 15px;
  margin: 10px 0;
  border: 2px solid #66B1FF;
  border-radius: 25px;
  outline: none;
  background: none;
  text-align: center;
  transition: 0.5s;
  transition-property: width;
}

.site-modal .site-modal-body input:focus {width: 350px;}

.site-modal .site-modal-body button {
  width: 150px;
  padding: 8px 15px;
  margin-top: 10px;
  border-radius: 25px;
  outline: none;
  background: none;
  cursor: pointer;
  transition: 0.5s;
  transition-property: background, transform;
  color: #34495e;
}

.site-modal .site-modal-body .site-modal-buttons .cancel {
  border: 2px solid #F56C6C;
  margin-right: 10px;
}

.site-modal .site-modal-body .site-modal-buttons .confirm {border: 2px solid #67C23A;}
